﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using GameSchoolApplication.Models;
using GameSchoolApplication.Controllers;
using System.Web.Configuration;


namespace GameSchoolApplication.Helper
{
    public class LevelListi 
    {
        private static List<Level>      LevelList       = new List<Level>();

        private static List<Video>      VideoList       = new List<Video>();
        private static List<Task>		TaskList = new List<Task>();
        private static List<Comment>	CommentList = new List<Comment>();
        private static List<Like>		LikeList = new List<Like>();
        private static List<SuperLike>	SuperLikeList = new List<SuperLike>();
        private static List<Assignment>	AssignmentList = new List<Assignment>();
        private static List<Test>		TestList = new List<Test>();
        private static List<Question>	QuestionList = new List<Question>();
        private static List<Answer>		AnswerList = new List<Answer>();

        private static List<Video>		VideoList2 = new List<Video>();
        private static List<Task>		TaskList2 = new List<Task>();
        private static List<Comment>	CommentList2 = new List<Comment>();
        private static List<Like>		LikeList2 = new List<Like>();
        private static List<SuperLike>	SuperLikeList2 = new List<SuperLike>();
        private static List<Assignment> AssignmentList2 = new List<Assignment>();
        private static List<Test>		TestList2 = new List<Test>();
        private static List<Question> QuestionList2 = new List<Question>();
        private static List<Answer> AnswerList2 = new List<Answer>();


        public static List<Level> GetLevelList()
        {
            LevelList.Add(new Level { LevelId = 1, ListOfVideo = GetVideoList(), ListOfTasks = GetTaskList() });
            LevelList.Add(new Level { LevelId = 2, ListOfVideo = GetVideoList2(), ListOfTasks = GetTaskList2() });

            return LevelList;
        }

        public static List<Video> GetVideoList()
        {
            VideoList.Add(new Video { VideoType = "http://tinyurl.com/3tbzqq2", VideoId = 1, LevelId = 1, CommentInVideo = GetCommentList()});

            return VideoList;
        }

        public static List<Task> GetTaskList()
        {
            TaskList.Add(new Task { TaskId = 1, ListOfAssignment = GetAssignmentList(), ListOfTest = GetTestList() });

            return TaskList;
        }

        public static List<Comment> GetCommentList()
        {
            CommentList.Add(new Comment { AuthorId = 5, CommentDate = DateTime.Now, CommentId = 1, Content = "LoL", UserName = "Kony2012", ListOfLikes = GetLikeList(1), ListOfSuperLikes = GetSuperLikeList(1) });
            CommentList.Add(new Comment { AuthorId = 3, CommentDate = DateTime.Now, CommentId = 2, Content = "Rosa margir sætir :)", UserName = "GoslingLover", ListOfLikes = GetLikeList(2), ListOfSuperLikes = GetSuperLikeList(2) });
            CommentList.Add(new Comment { AuthorId = 2, CommentDate = DateTime.Now, CommentId = 3, Content = "GoslingLover, I'm gonna punch you in the ovary", UserName = "LexLethal", ListOfLikes = GetLikeList(3), ListOfSuperLikes = GetSuperLikeList(3) });
            CommentList.Add(new Comment { AuthorId = 10, CommentDate = DateTime.Now, CommentId = 4, Content = "I'm in this bitch", UserName = "HardbodyHarrison", ListOfLikes = GetLikeList(4), ListOfSuperLikes = GetSuperLikeList(4) });

            return CommentList;
        }

        public static List<Like> GetLikeList(int id)
        {
            LikeList.Add( new Like { CommentId = 1, Id = 1, UserId = 4, UserName = "BugsBunny"});
            LikeList.Add( new Like { CommentId = 1, Id = 2, UserId = 3, UserName = "GoslingLover"});
            LikeList.Add( new Like { CommentId = 1, Id = 3, UserId = 2, UserName = "LexLethal"});

            LikeList.Add(new Like { CommentId = 3, Id = 4, UserId = 4, UserName = "BugsBunny" });
            LikeList.Add(new Like { CommentId = 3, Id = 5, UserId = 1, UserName = "gvarihendrix" });
            LikeList.Add(new Like { CommentId = 3, Id = 6, UserId = 5, UserName = "Kony2012" });
            LikeList.Add(new Like { CommentId = 3, Id = 7, UserId = 6, UserName = "CletusVanDamme" });
            LikeList.Add(new Like { CommentId = 3, Id = 8, UserId = 7, UserName = "FreewayRicky" });
            LikeList.Add(new Like { CommentId = 3, Id = 9, UserId = 8, UserName = "ArtVandelay" });
            LikeList.Add(new Like { CommentId = 3, Id = 10, UserId = 9, UserName = "FuzzyDunlop" });
            LikeList.Add(new Like { CommentId = 3, Id = 11, UserId = 10, UserName = "HardbodyHarrison" });

            LikeList.Add(new Like { CommentId = 4, Id = 12, UserId = 4, UserName = "BugsBunny" });
            LikeList.Add(new Like { CommentId = 4, Id = 13, UserId = 1, UserName = "gvarihendrix" });
            LikeList.Add(new Like { CommentId = 4, Id = 14, UserId = 5, UserName = "Kony2012" });
            LikeList.Add(new Like { CommentId = 4, Id = 15, UserId = 6, UserName = "CletusVanDamme" });
            LikeList.Add(new Like { CommentId = 4, Id = 16, UserId = 7, UserName = "FreewayRicky" });
            LikeList.Add(new Like { CommentId = 4, Id = 17, UserId = 8, UserName = "ArtVandelay" });
            LikeList.Add(new Like { CommentId = 4, Id = 18, UserId = 9, UserName = "FuzzyDunlop" });
            LikeList.Add(new Like { CommentId = 4, Id = 19, UserId = 3, UserName = "GoslingLover" });
            LikeList.Add(new Like { CommentId = 4, Id = 20, UserId = 2, UserName = "LexLethal" });

            List<Like> list = new List<Like>();
            IEnumerable<Like> results = (from like in LikeList
                                           where like.CommentId == id
                                           select like);

            foreach (var p in results)
            {
                list.Add(p);
            }

            return list;

        }

        public static List<SuperLike> GetSuperLikeList(int id)
        {
            SuperLikeList.Add( new SuperLike { CommentId = 1, Id = 1, TypeOfLike = "gigalike", UserId = 11, UserName = "dabs"});
            SuperLikeList.Add(new SuperLike { CommentId = 3, Id = 2, TypeOfLike = "zettalike", UserId = 11, UserName = "dabs" });
            SuperLikeList.Add(new SuperLike { CommentId = 4, Id = 3, TypeOfLike = "zettalike", UserId = 11, UserName = "dabs" });

            List<SuperLike> list = new List<SuperLike>();
            IEnumerable<SuperLike> results = (from slike in SuperLikeList
                                           where slike.CommentId == id
                                           select slike);

            foreach (var p in results)
            {
                list.Add(p);
            }

            return list;
        }

        public static List<Assignment> GetAssignmentList()
        {
            AssignmentList.Add(new Assignment { AssignmentId = 1, Description = "Nefndu allar myndirnar í myndbandinu", Title = "Hver er myndin?", StartDate = DateTime.Now, ReturnDate = DateTime.Now });

            return AssignmentList;
        }

        public static List<Test> GetTestList()
        {
            TestList.Add(new Test { AuthorId = 11, NumberOfQuestion = 10, TestId = 1, QuestionOnTest = GetQuestionList() });                
            
            return TestList;
        }

        public static List<Question> GetQuestionList()
        {
            QuestionList.Add(new Question { QuestionId = 1, TestId = 1, Content = "Hvað vann Titanic marga óskara?", Answer = GetAnswerList(1) });
            QuestionList.Add(new Question { QuestionId = 2, TestId = 1, Content = "Hver af þessum mönnum hefur ekki leikið Satan í kvikmynd?", Answer = GetAnswerList(2) });
            QuestionList.Add(new Question { QuestionId = 3, TestId = 1, Content = "Hver af þessum mönnum hefur ekki leikið Jesús í kvikmynd?", Answer = GetAnswerList(3) });
            QuestionList.Add(new Question { QuestionId = 4, TestId = 1, Content = "Hvað voru reglurnar margar í Fight Club?", Answer = GetAnswerList(4) });
            QuestionList.Add(new Question { QuestionId = 5, TestId = 1, Content = "Hvað hét graði krabbameinssjúklingurinn í Fight Club?", Answer = GetAnswerList(5) });
            QuestionList.Add(new Question { QuestionId = 6, TestId = 1, Content = "Hver af þessu mönnum hefur ekki leikið Joker(erkióvin Batman)?", Answer = GetAnswerList(6) });
            QuestionList.Add(new Question { QuestionId = 7, TestId = 1, Content = "Marlon, Keenan Ivory, Damon, Shawn og Dwayne, deila hvaða eftirnafni?", Answer = GetAnswerList(7) });
            QuestionList.Add(new Question { QuestionId = 8, TestId = 1, Content = "Hver af þessum aðilum fæddist í Ástralíu?", Answer = GetAnswerList(8) });
            QuestionList.Add(new Question { QuestionId = 9, TestId = 1, Content = "Hver lék karakterana Jesus, Knish og Agent Simmons ?", Answer = GetAnswerList(9) });
            QuestionList.Add(new Question { QuestionId = 10, TestId = 1, Content = "Hver af þessum leikurum gat af sér kvikmyndaleik, sem er spilaður til að drepa tímann?", Answer = GetAnswerList(10) });

            return QuestionList;
        }

        public static List<Answer> GetAnswerList(int id)
        {
            AnswerList.Add(new Answer { AnswerId = 1, Content = "8", QuestionId = 1 });
            AnswerList.Add(new Answer { AnswerId = 2, Content = "9", QuestionId = 1 });
            AnswerList.Add(new Answer { AnswerId = 3, Content = "10", QuestionId = 1 });
            AnswerList.Add(new Answer { AnswerId = 4, Content = "11", QuestionId = 1 });
            AnswerList.Add(new Answer { AnswerId = 5, Content = "12", QuestionId = 1 });

            AnswerList.Add(new Answer { AnswerId = 6, Content = "Gabriel Byrne", QuestionId = 2 });
            AnswerList.Add(new Answer { AnswerId = 7, Content = "Elizabeth Hurley", QuestionId = 2 });
            AnswerList.Add(new Answer { AnswerId = 8, Content = "Al Pacino", QuestionId = 2 });
            AnswerList.Add(new Answer { AnswerId = 9, Content = "Heath Ledger", QuestionId = 2 });
            AnswerList.Add(new Answer { AnswerId = 10, Content = "Max Von Sydow", QuestionId = 2 });

            AnswerList.Add(new Answer { AnswerId = 11, Content = "Jason Patric", QuestionId = 3 });
            AnswerList.Add(new Answer { AnswerId = 12, Content = "Willem Dafoe", QuestionId = 3 });
            AnswerList.Add(new Answer { AnswerId = 13, Content = "Jim Caviezel", QuestionId = 3 });
            AnswerList.Add(new Answer { AnswerId = 14, Content = "Christian Bale", QuestionId = 3 });
            AnswerList.Add(new Answer { AnswerId = 15, Content = "Max Von Sydow", QuestionId = 3 });

            AnswerList.Add(new Answer { AnswerId = 16, Content = "5", QuestionId = 4 });
            AnswerList.Add(new Answer { AnswerId = 17, Content = "6", QuestionId = 4 });
            AnswerList.Add(new Answer { AnswerId = 18, Content = "7", QuestionId = 4 });
            AnswerList.Add(new Answer { AnswerId = 19, Content = "8", QuestionId = 4 });
            AnswerList.Add(new Answer { AnswerId = 20, Content = "9", QuestionId = 4 });

            AnswerList.Add(new Answer { AnswerId = 21, Content = "Marla", QuestionId = 5 });
            AnswerList.Add(new Answer { AnswerId = 22, Content = "Chloe", QuestionId = 5 });
            AnswerList.Add(new Answer { AnswerId = 23, Content = "Sally", QuestionId = 5 });
            AnswerList.Add(new Answer { AnswerId = 24, Content = "Jessy", QuestionId = 5 });
            AnswerList.Add(new Answer { AnswerId = 25, Content = "Toby", QuestionId = 5 });

            AnswerList.Add(new Answer { AnswerId = 26, Content = "Heath Ledger", QuestionId = 6 });
            AnswerList.Add(new Answer { AnswerId = 27, Content = "Mark Hamill", QuestionId = 6 });
            AnswerList.Add(new Answer { AnswerId = 28, Content = "Stellan Skarsgård", QuestionId = 6 });
            AnswerList.Add(new Answer { AnswerId = 29, Content = "Jack Nicholson", QuestionId = 6 });
            AnswerList.Add(new Answer { AnswerId = 30, Content = "Cesar Romero", QuestionId = 6 });

            AnswerList.Add(new Answer { AnswerId = 31, Content = "Stanfield", QuestionId = 7 });
            AnswerList.Add(new Answer { AnswerId = 32, Content = "Bell", QuestionId = 7 });
            AnswerList.Add(new Answer { AnswerId = 33, Content = "Barksdale", QuestionId = 7 });
            AnswerList.Add(new Answer { AnswerId = 34, Content = "Wayans", QuestionId = 7 });
            AnswerList.Add(new Answer { AnswerId = 35, Content = "Johnson", QuestionId = 7 });

            AnswerList.Add(new Answer { AnswerId = 36, Content = "Nicole Kidman", QuestionId = 8 });
            AnswerList.Add(new Answer { AnswerId = 37, Content = "Mel Gibson", QuestionId = 8 });
            AnswerList.Add(new Answer { AnswerId = 38, Content = "Guy Pearce", QuestionId = 8 });
            AnswerList.Add(new Answer { AnswerId = 39, Content = "Russell Crowe", QuestionId = 8 });
            AnswerList.Add(new Answer { AnswerId = 40, Content = "Hugh Jackman", QuestionId = 8 });

            AnswerList.Add(new Answer { AnswerId = 41, Content = "Luis Guzmán", QuestionId = 9 });
            AnswerList.Add(new Answer { AnswerId = 42, Content = "John Turturro", QuestionId = 9 });
            AnswerList.Add(new Answer { AnswerId = 43, Content = "Peter Weller", QuestionId = 9 });
            AnswerList.Add(new Answer { AnswerId = 44, Content = "Max Von Sydow", QuestionId = 9 });
            AnswerList.Add(new Answer { AnswerId = 45, Content = "John Leguizamo", QuestionId = 9 });

            AnswerList.Add(new Answer { AnswerId = 46, Content = "Robert De Niro", QuestionId = 10 });
            AnswerList.Add(new Answer { AnswerId = 47, Content = "Peter Fonda", QuestionId = 10 });
            AnswerList.Add(new Answer { AnswerId = 48, Content = "Max Von Sydow", QuestionId = 10 });
            AnswerList.Add(new Answer { AnswerId = 49, Content = "Billy Bob Thornton", QuestionId = 10 });
            AnswerList.Add(new Answer { AnswerId = 50, Content = "Kevin Bacon", QuestionId = 10 });

            
            
            List<Answer> list = new List<Answer>();
            IEnumerable<Answer> results = (from answer in AnswerList
                                           where answer.QuestionId == id
                                           select answer);

          foreach(var p in results)
          {
              list.Add(p);
          }       
                                  
           return list;
        }


        //------------------------------LEIKUR #2 byrjar hér-----------------------------------------



        public static List<Video> GetVideoList2()
        {
            VideoList2.Add(new Video { VideoType = "http://bit.ly/1Y86dQ", VideoId = 2, LevelId = 2, CommentInVideo = GetCommentList2() });

            return VideoList2;
        }

        public static List<Comment> GetCommentList2()
        {
            CommentList2.Add(new Comment { AuthorId = 8, CommentDate = DateTime.Now, CommentId = 5, Content = "FIRST!", UserName = "ArtVandelay", ListOfLikes = GetLikeList2(5), ListOfSuperLikes = GetSuperLikeList2(5) });
            CommentList2.Add(new Comment { AuthorId = 2, CommentDate = DateTime.Now, CommentId = 6, Content = "GOAT", UserName = "LexLethal", ListOfLikes = GetLikeList2(6), ListOfSuperLikes = GetSuperLikeList2(6) });
            CommentList2.Add(new Comment { AuthorId = 9, CommentDate = DateTime.Now, CommentId = 7, Content = "Agree to Agree", UserName = "FuzzyDunlop", ListOfLikes = GetLikeList2(7), ListOfSuperLikes = GetSuperLikeList2(7) });
            CommentList2.Add(new Comment { AuthorId = 6, CommentDate = DateTime.Now, CommentId = 8, Content = "Shield eru betri", UserName = "CletusVanDamme", ListOfLikes = GetLikeList2(8), ListOfSuperLikes = GetSuperLikeList2(8) });
            CommentList2.Add(new Comment { AuthorId = 7, CommentDate = DateTime.Now, CommentId = 9, Content = "Omar is cool as a cucumber on an ice burger in the Antarctic", UserName = "FreewayRicky", ListOfLikes = GetLikeList2(9), ListOfSuperLikes = GetSuperLikeList2(9) });
            CommentList2.Add(new Comment { AuthorId = 5, CommentDate = DateTime.Now, CommentId = 10, Content = "ROFL", UserName = "Kony2012", ListOfLikes = GetLikeList2(10), ListOfSuperLikes = GetSuperLikeList2(10) });

            return CommentList2;
        }

        public static List<Like> GetLikeList2(int id)
        {
            LikeList2.Add(new Like { CommentId = 5, Id = 21, UserId = 7, UserName = "FreewayRicky" });
            LikeList2.Add(new Like { CommentId = 5, Id = 22, UserId = 6, UserName = "CletusVanDamme" });            

            LikeList2.Add(new Like { CommentId = 6, Id = 23, UserId = 4, UserName = "BugsBunny" });
            LikeList2.Add(new Like { CommentId = 6, Id = 24, UserId = 1, UserName = "gvarihendrix" });
            LikeList2.Add(new Like { CommentId = 6, Id = 25, UserId = 5, UserName = "Kony2012" });

            LikeList2.Add(new Like { CommentId = 8, Id = 26, UserId = 6, UserName = "CletusVanDamme" });
            
            LikeList2.Add(new Like { CommentId = 9, Id = 27, UserId = 4, UserName = "BugsBunny" });
            LikeList2.Add(new Like { CommentId = 9, Id = 28, UserId = 1, UserName = "gvarihendrix" });
            LikeList2.Add(new Like { CommentId = 9, Id = 29, UserId = 5, UserName = "Kony2012" });
            LikeList2.Add(new Like { CommentId = 9, Id = 30, UserId = 6, UserName = "CletusVanDamme" });
            LikeList2.Add(new Like { CommentId = 9, Id = 31, UserId = 8, UserName = "ArtVandelay" });
            LikeList2.Add(new Like { CommentId = 9, Id = 32, UserId = 9, UserName = "FuzzyDunlop" });
            LikeList2.Add(new Like { CommentId = 9, Id = 33, UserId = 3, UserName = "GoslingLover" });
            LikeList2.Add(new Like { CommentId = 9, Id = 34, UserId = 2, UserName = "LexLethal" });

            LikeList2.Add(new Like { CommentId = 10, Id = 35, UserId = 7, UserName = "FreewayRicky" });
            LikeList2.Add(new Like { CommentId = 10, Id = 36, UserId = 8, UserName = "ArtVandelay" });
            LikeList2.Add(new Like { CommentId = 10, Id = 37, UserId = 9, UserName = "FuzzyDunlop" });
            LikeList2.Add(new Like { CommentId = 10, Id = 38, UserId = 10, UserName = "HardbodyHarrison" });


            List<Like> list = new List<Like>();
            IEnumerable<Like> results = (from like in LikeList2
                                         where like.CommentId == id
                                         select like);

            foreach (var p in results)
            {
                list.Add(p);
            }

            return list;

        }

        public static List<SuperLike> GetSuperLikeList2(int id)
        {
            SuperLikeList2.Add(new SuperLike { CommentId = 6, Id = 4, TypeOfLike = "teralike", UserId = 11, UserName = "dabs" });
            SuperLikeList2.Add(new SuperLike { CommentId = 9, Id = 5, TypeOfLike = "yottalike", UserId = 11, UserName = "dabs" });


            List<SuperLike> list = new List<SuperLike>();
            IEnumerable<SuperLike> results = (from slike in SuperLikeList2
                                              where slike.CommentId == id
                                              select slike);

            foreach (var p in results)
            {
                list.Add(p);
            }

            return list;
        }


        public static List<Task> GetTaskList2()
        {
            TaskList2.Add(new Task { TaskId = 2, ListOfAssignment = GetAssignmentList2(), ListOfTest = GetTestList2() });

            return TaskList2;
        }

        public static List<Assignment> GetAssignmentList2()
        {
            AssignmentList2.Add(new Assignment { AssignmentId = 2, Description = "Veljið einn karakter úr The Wire og skrifið 1-2 blaðsíðna ritgerð", Title = "Ritgerð", StartDate = DateTime.Now, ReturnDate = DateTime.Now });

            return AssignmentList2;
        }

        public static List<Test> GetTestList2()
        {
            TestList2.Add(new Test { AuthorId = 11, NumberOfQuestion = 10, TestId = 2, QuestionOnTest = GetQuestionList2() });

            return TestList2;
        }

        public static List<Question> GetQuestionList2()
        {
            QuestionList2.Add(new Question { QuestionId = 11, TestId = 2, Content = "Hvað vann The Wire mörg Emmy Verðlaun?", Answer = GetAnswerList2(11) });
            QuestionList2.Add(new Question { QuestionId = 12, TestId = 2, Content = "Hver heitir réttu nafni Dennis Wise?", Answer = GetAnswerList2(12) });
            QuestionList2.Add(new Question { QuestionId = 13, TestId = 2, Content = "Hvaða bæjarhluta stjórnaði Barksdale þegar best lét?", Answer = GetAnswerList2(13) });
            QuestionList2.Add(new Question { QuestionId = 14, TestId = 2, Content = "Fyrir hvað stendur orðið Prop, í nafninu Prop Joe?", Answer = GetAnswerList2(14) });
            QuestionList2.Add(new Question { QuestionId = 15, TestId = 2, Content = "Hvað heitir Bunk Moreland réttu nafni?", Answer = GetAnswerList2(15) });
            QuestionList2.Add(new Question { QuestionId = 16, TestId = 2, Content = "Hvert er eftirlætisvopn Omars?", Answer = GetAnswerList2(16) });
            QuestionList2.Add(new Question { QuestionId = 17, TestId = 2, Content = "Hvaða leikari í The Wire hefur verið tilnefndur til Óskarsverðlauna?", Answer = GetAnswerList2(17) });
            QuestionList2.Add(new Question { QuestionId = 18, TestId = 2, Content = "Hvaða tveir karakterar eru leiknir af breskum leikurum?", Answer = GetAnswerList2(18) });
            QuestionList2.Add(new Question { QuestionId = 19, TestId = 2, Content = "Einn leikari í The Wire hefur verið sakfelldur fyrir morð. Hvaða karakter leikur sá leikari?", Answer = GetAnswerList2(19) });
            QuestionList2.Add(new Question { QuestionId = 20, TestId = 2, Content = "Einn leikar í The Wire var meðlimur í Wu-Tang Clan. Hvaða karakter leikur sá leikari?", Answer = GetAnswerList2(20) });

            return QuestionList2;
        }

        public static List<Answer> GetAnswerList2(int id)
        {
            AnswerList2.Add(new Answer { AnswerId = 51, Content = "5", QuestionId = 11 });
            AnswerList2.Add(new Answer { AnswerId = 52, Content = "7", QuestionId = 11 });
            AnswerList2.Add(new Answer { AnswerId = 53, Content = "3", QuestionId = 11 });
            AnswerList2.Add(new Answer { AnswerId = 54, Content = "1", QuestionId = 11 });
            AnswerList2.Add(new Answer { AnswerId = 55, Content = "0", QuestionId = 11 });

            AnswerList2.Add(new Answer { AnswerId = 56, Content = "Slim", QuestionId = 12 });
            AnswerList2.Add(new Answer { AnswerId = 57, Content = "June Bug", QuestionId = 12 });
            AnswerList2.Add(new Answer { AnswerId = 58, Content = "Poot", QuestionId = 12 });
            AnswerList2.Add(new Answer { AnswerId = 59, Content = "Boadie", QuestionId = 12 });
            AnswerList2.Add(new Answer { AnswerId = 60, Content = "Cutty", QuestionId = 12 });

            AnswerList2.Add(new Answer { AnswerId = 61, Content = "Westside", QuestionId = 13 });
            AnswerList2.Add(new Answer { AnswerId = 62, Content = "Uptown", QuestionId = 13 });
            AnswerList2.Add(new Answer { AnswerId = 63, Content = "Eastside", QuestionId = 13 });
            AnswerList2.Add(new Answer { AnswerId = 64, Content = "Southside", QuestionId = 13 });
            AnswerList2.Add(new Answer { AnswerId = 65, Content = "Downtown", QuestionId = 13 });

            AnswerList2.Add(new Answer { AnswerId = 66, Content = "Proposal", QuestionId = 14 });
            AnswerList2.Add(new Answer { AnswerId = 67, Content = "Probably", QuestionId = 14 });
            AnswerList2.Add(new Answer { AnswerId = 68, Content = "Proposition", QuestionId = 14 });
            AnswerList2.Add(new Answer { AnswerId = 69, Content = "Problem", QuestionId = 14 });
            AnswerList2.Add(new Answer { AnswerId = 70, Content = "Propane", QuestionId = 14 });

            AnswerList2.Add(new Answer { AnswerId = 71, Content = "Arthur Moreland", QuestionId = 15 });
            AnswerList2.Add(new Answer { AnswerId = 72, Content = "William Moreland", QuestionId = 15 });
            AnswerList2.Add(new Answer { AnswerId = 73, Content = "Clarence Moreland", QuestionId = 15 });
            AnswerList2.Add(new Answer { AnswerId = 74, Content = "Reginald", QuestionId = 15 });
            AnswerList2.Add(new Answer { AnswerId = 75, Content = "Joseph Moreland", QuestionId = 15 });


            AnswerList2.Add(new Answer { AnswerId = 76, Content = "Sveðja", QuestionId = 16 });
            AnswerList2.Add(new Answer { AnswerId = 77, Content = "AK-47", QuestionId = 16 });
            AnswerList2.Add(new Answer { AnswerId = 78, Content = "9MM", QuestionId = 16 });
            AnswerList2.Add(new Answer { AnswerId = 79, Content = "Haglabyssa", QuestionId = 16 });
            AnswerList2.Add(new Answer { AnswerId = 80, Content = "Hnefar", QuestionId = 16 });

            AnswerList2.Add(new Answer { AnswerId = 81, Content = "Michael Kenneth Williams(Omar Little)", QuestionId = 17 });
            AnswerList2.Add(new Answer { AnswerId = 82, Content = "Aidan Gillen(Thomas Carcetti)", QuestionId = 17 });
            AnswerList2.Add(new Answer { AnswerId = 83, Content = "Idris Elba(Stringer Bell)", QuestionId = 17 });
            AnswerList2.Add(new Answer { AnswerId = 84, Content = "Amy Ryan(Beadie Russell)", QuestionId = 17 });
            AnswerList2.Add(new Answer { AnswerId = 85, Content = "Robert Wisdom(Howard Bunny Colvin)", QuestionId = 17 });


            AnswerList2.Add(new Answer { AnswerId = 86, Content = "Rhonda Pearlman og Lester Freamon", QuestionId = 18 });
            AnswerList2.Add(new Answer { AnswerId = 87, Content = "Stringer Bell og Jimmy McNulty", QuestionId = 18 });
            AnswerList2.Add(new Answer { AnswerId = 88, Content = "Leander Sydnor og Michael Lee", QuestionId = 18 });
            AnswerList2.Add(new Answer { AnswerId = 89, Content = "Thomas Carcetti og William Rawls", QuestionId = 18 });
            AnswerList2.Add(new Answer { AnswerId = 90, Content = "Kima Greggs og Bubbles", QuestionId = 18 });

            AnswerList2.Add(new Answer { AnswerId = 91, Content = "Slim Charles", QuestionId = 19 });
            AnswerList2.Add(new Answer { AnswerId = 92, Content = "Snoop", QuestionId = 19 });
            AnswerList2.Add(new Answer { AnswerId = 93, Content = "Cutty", QuestionId = 19 });
            AnswerList2.Add(new Answer { AnswerId = 94, Content = "Chris Partlow", QuestionId = 19 });
            AnswerList2.Add(new Answer { AnswerId = 95, Content = "Omar", QuestionId = 19 });

            AnswerList2.Add(new Answer { AnswerId = 96, Content = "Bird", QuestionId = 20 });
            AnswerList2.Add(new Answer { AnswerId = 97, Content = "Marlo", QuestionId = 20 });
            AnswerList2.Add(new Answer { AnswerId = 98, Content = "Stinkum", QuestionId = 20 });
            AnswerList2.Add(new Answer { AnswerId = 99, Content = "Wee Bey", QuestionId = 20 });
            AnswerList2.Add(new Answer { AnswerId = 100, Content = "Cheese", QuestionId = 20 });



            List<Answer> list = new List<Answer>();
            IEnumerable<Answer> results = (from answer in AnswerList2
                                           where answer.QuestionId == id
                                           select answer);

            foreach (var p in results)
            {
                list.Add(p);
            }

            return list;
        }


    }
}